import Vue from "vue";
import VueRouter from "vue-router";
import routes from './routes'

Vue.use(VueRouter)

// 解决路由导航冗余问题
let router = new VueRouter({
    mode: 'history',
    routes
})

export default router

